<template>
  <div id="centerRight1">
    <div class="bg-color-black">
      <div class="d-flex jc-center body-box" style="margin-top: 50px;">
        <dv-scroll-board class="dv-scr-board" :config="config" />
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      config: {
        header: ['姓名', '年龄', '日期'],
        data: [[
          '王虎',
          '16',
          '2016-05-03',
        ], [
          '王小虎',
          '18',
          '2016-05-02',
        ], [
          '王大虎',
          '21',
          '2016-05-04',
        ], [
          '王二虎',
          '30',
          '2016-05-01',
        ], [
          '张小虎',
          '15',
          '2016-05-08',
        ], [
          '李小虎',
          '33',
          '2016-05-06',
        ], [
          '李虎',
          '50',
          '2016-05-07'
        ]],
        rowNum: 7, //表格行数
        headerHeight: 35,
        headerBGC: '#0f1325', //表头
        oddRowBGC: '#0f1325', //奇数行
        evenRowBGC: '#171c33', //偶数行
        index: true,
        columnWidth: [50],
        align: ['center']
      }
    }
  }
}
</script>

<style lang="scss" scoped>
$box-height: 310px;
$box-width: 480px;
#centerRight1 {
  padding: 16px;
  padding-top: 20px;
  height: $box-height;
  width: $box-width;
  border-radius: 5px;
  .bg-color-black {
    height: $box-height - 30px;
    border-radius: 10px;
  }
  .text {
    color: #c3cbde;
  }
  .body-box {
    border-radius: 10px;
    overflow: hidden;
    .dv-scr-board {
      width: 580px;
      height: 340px;
    }
  }
}
</style>
